home *** CD-ROM | disk | FTP | other *** search
- ----------------------------------------------------------------------------
- MDaemon Server v2.7 Service Support FAQ
- ----------------------------------------------------------------------------
-
- FAQ version 3.4
- Maintained by Alt-N Technologies (docs@altn.com)
-
- (3.3) Q: How do I install MDaemon as a system service?
-
- A: The easiest method is to do so during installation. MDaemon's
- installation routine will detect the OS version you are running,
- install the appropriate service name-space, and configure MDaemon
- itself to operate as a system service. This is available for
- both Windows NT and Windows 95 beginning with MDaemon v2.7.
-
- If you bypassed creating the MDaemon service during the installation
- process you may still do so using the following method: First,
- install the service support name-space. This is done using the
- "System Service Settings" menu option off the Setup menu. This
- screen differs depending on the OS version you are running.
- Under Windows 95 you get to give the service a name and switch
- MDaemon to run as a service. Under Windows NT you can do alot
- more. Before you can install the name-space you must decide on a
- name for the MDaemon service and enter that name into the "Service
- Name" control. For most installations the default name "MDaemon"
- will be sufficient. Remember that "/" and "\" characters are not
- allowed.
-
- WINDOWS NT:
- -----------
- Next select whether you want the service to start automatically
- when the system boots or manually via the "Services" applet in
- the control panel or initially disabled.
-
- Once you have set these parameters press the "Install Service"
- button. If successful you will have installed the required service
- name-space into the NT service control manager. At this point you
- will be able to see the service in the "Services" applet.
-
- Finally, make sure the "Run MDaemon as an NT System Service" is
- set. This switch governs whether MDaemon should respond to
- commands from the Service Control Manager.
-
- WINDOWS 95:
- -----------
- Enter the service name into the control and click the "Run MDaemon
- as a Windows 95 System Service" switch. When you click the OK
- button MDaemon will install the service into the registry under the
- given name.
-
- You will need to restart the computer before MDaemon will fully
- function as a system service.
-
- (3.4) Q: How do I remove MDaemon from the Windows NT Service Control Manager?
-
- A: Use the "Remove Service" button found in MDaemon's "System Service
- Settings" screen. The service name listed on this screen will be
- the one removed from the Service Control Manager (NT) or from the
- RunServices key in the registry (Win 9x).
-
- (3.3) Q: I run MDaemon as a service yet when I click on the MDaemon icon the
- program will not start under Windows NT.
-
- A: When MDaemon is configured to run as a service under Windows NT you
- must start and stop it using the "Services" applet from the Control
- Panel.
-
- (3.4) Q: I no longer run MDaemon as a service yet when I click on the ICON
- MDaemon doesn't start. What gives?
-
- A: You need to manually edit the MDAEMON.INI file and change the
- following entry (make sure it say this):
-
- [Service]
- RunAsService=No
-
- (3.3) Q: I tried to install MDaemon as a service under Windows NT but got an
- error message. What did I do wrong?
-
- A: Most likely you either already have a service installed using the
- name you have entered into the "Service Name" field or you have
- used illegal characters ("/", "\") in the name you are trying to
- use. Also, try to install the service entry twice. Sometimes the
- first attempt fails inexlicably.
-
- (3.3) Q: I use Windows 95. Can I do this fancy service stuff?
-
- A: Yes. Beginning with MDaemon v2.7 full Windows 95 system service
- support is available.
-
- (3.4) Q: My MDaemon is configured to start as a service. So how do I
- start the service?
-
- A: WINDOWS NT:
- -----------
- The control panel's "Services" applet has a button called START.
- Select the name you've assigned to the MDaemon service and click
- the START button.
-
- Also, from the command prompt you can use the NET START command.
-
- Alternatively, if you have the service configured to start automa-
- tically you can reboot the machine to start it.
-
- WINDOWS 95:
- -----------
- The service will start when the machine is rebooted or you can
- click the MDaemon icon to start the service.
-
- (3.4) Q: Once the MDaemon service is running how do I stop it?
-
- A: WINDOWS NT:
- -----------
- The control panel's "Services" applet has a button called STOP.
- Select the name you've assigned to the MDaemon service and click
- the STOP button.
-
- Also, from the command prompt you can use the NET STOP command.
-
- WINDOWS 95:
- -----------
- Select FILE | TERMINATE APPLICATION/SERVICE.
-
- (3.4) Q: What happens if my MDaemon service is running and I just stop it
- using the interface?
-
- A: WINDOWS NT:
- -----------
- The FILE | TERMINATE APPLICATION/SERVICE command is designed to
- stop the service without using the Service Control Manager. No
- harm is done but you should refrain from this method of stopping
- the MDaemon service since the Service Control Manager may not be
- updated promptly regarding MDaemon's new status.
-
- WINDOWS 95:
- -----------
- There is no Service Control Manager in Windows 95 so the FILE |
- TERMINATE APPLICATION/SERVICE command is the only way to terminate
- the service.
-
- (3.3) Q: My MDaemon service starts automatically and everything seems
- to work fine but sometimes when I logon there is no MDaemon icon
- in the system tray.
-
- A: Double click the program manager icon for MDaemon. Or, create a
- file called REBOOTMD.SEM and place it in MDaemon's APP directory.
-
- (3.3) Q: I run many virtual domains using multiple instances of MDaemon.
- How can I get service support in my situation?
-
- A: I'm assuming you have MDaemon running as an application successfully
- under virtual domain conditions. All you have to do is go into each
- instance's "System Service Settings" and provide a unique service
- name to each instance. I'd recommend using the domain name as part
- of the service name so you can easily tell which domain you are
- configuring from the "Services" control panel applet under NT.
-
- (3.1) Q: When I run MDaemon as a service it won't move mail into my user's
- mailboxes and/or it parses the same set of messages endlessly!
-
- A: This is likely due to a permissions problem. Make certain that the
- logon you are using (LocalSystem or whatever) has read and write
- access to all the directories for your users and to the directories
- where it's own files are kept (ie.. the \mdaemon\* hierarchy).
-
- (3.4) Q: Sometimes the MDaemon service just seems to stop under Windows NT
- for no apparent reason.
-
- A: Increase the size of your paging file or add more physical memory
- to your computer. Your computer is running out of resources while
- MDaemon is attempting to process mail. NT will automatically remove
- services from memory if they require too many resources. You can
- also reduce the number of SMTP threads that MDaemon is using to help
- with this problem (Setup->Primary Domain->Threading).
-
- This can also be caused by an error in the program itself. If an
- exception occurs such as an access violation NT will shut down the
- service immediately. Please promptly report any such error you
- encounter to support@mdaemon.com.
-
- ----------------------------------------------------------------------------
- Questions, additions, corrections to docs@altn.com. Please reference
- that your message is regarding the Service FAQ.
- ----------------------------------------------------------------------------
-
-